-- GENERATED SPELL FOR [Lost Whelp] --


function spell0_1043(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(11839,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1043', 3000, 1)
end

function Sorts_1043(pUnit, Event)
local choix_sorts_1043 = math.random(0, 0)
if choix_sorts_1043 == 0 then
pUnit:RegisterEvent('spell0_1043', 1, 1)
end
end

function mob1043_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1043', math.random(1500, 3000), 1)
end

function mob1043_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1043_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1043_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1043, 1, 'mob1043_Action')
RegisterUnitEvent(1043, 2, 'mob1043_Leave')
RegisterUnitEvent(1043, 3, 'mob1043_Kill')
RegisterUnitEvent(1043, 4, 'mob1043_Die')
